﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ChartSharp
{
    public class LineStyle
    {
        protected float _thickness;
        protected float _lineSegmentLength;
        protected float _blankSegmentLength;

        public LineStyle()
        {
            _thickness = 1f;
            _lineSegmentLength = 1f;
            _blankSegmentLength = 0f;
        }

        public LineStyle(float thickness, float lineSegmentLength, float blankSegementLength)
        {
            _thickness = thickness;
            _lineSegmentLength = lineSegmentLength;
            _blankSegmentLength = blankSegementLength;
        }

        public override string ToString()
        {
            return string.Format("{0:0.#},{1:0.#},{2:0.#}", _thickness, _lineSegmentLength, _blankSegmentLength);
        }
    }
}
